package design.pattern.creational.simple_factory;

public class Test {
    public static void main(String[] args) {
        TV haier = TVFactory.createTV("Haier");
        TV hisense = TVFactory.createTV("Hisense");
        TV lg = TVFactory.createTV("LG");

        assert haier != null;
        haier.getBrand();
        assert hisense != null;
        hisense.getBrand();
        assert lg != null;
        lg.getBrand();
    }
}
